<div class="actions">
	<ul>
		<li><?php if ($curUser['User']['ROLE'] != 'admin')
					echo $html->link(__('Sửa', true), array('action' => 'edit', $bayden['Bayden']['id'])); ?> </li>
		<li><?php if ($curUser['User']['ROLE'] != 'admin')
					echo $html->link(__('Xóa', true), array('action' => 'delete', $bayden['Bayden']['id']), null, sprintf(__('BẠN CÓ CHẮC MUỖN XÓA # %s?', true), $bayden['Bayden']['id'])); ?> </li>
		<li><?php if ($curUser['User']['ROLE'] != 'admin')
					echo $html->link(__('Thêm', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách Bẫy Đèn', true), array('action' => 'index')); ?> </li>
	
	</ul>
</div>

<div class="baydens view">
<h2><?php  __('Thông tin Bẫy Đèn');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('STT'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Bayden']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Trạm BVTV'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Trambvtv']['TEN_TR']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tên Bẫy đèn'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Bayden']['TEN_BD']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Kinh độ (Đông)'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Bayden']['HDO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Vĩ độ (Bắc)'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Bayden']['TDO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghi chú'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $bayden['Bayden']['ghichu']; ?>
			&nbsp;
		</dd>
		
	
	</dl>
</div>
